chcp 65001

:: adb shell netcfg 获取设备的ip
:: amigo PZUCSSZ9JVUCDA7T 192.168.6.246:6125
:: honor CSX0217908007161 192.168.6.234:6124

set dt=%date:~3,4%-%date:~8,2%-%date:~11,2% %time:~0,2%%time:~3,2%%time:~6,2%

set baseURL=https://cws-stag-internal.cyy928.com
set reload=false
set plugin_html=html:report/cucumber-reports/app-%dt%.html
set plugin_json=json:report/cucumber-reports/app-%dt%.json
set extentReport=com.aventstack.extentreports.cucumber.adapter.ExtentCucumberAdapter

set CUCUMBER_FILTER_TAGS=@test
set CUCUMBER_FEATURES=classpath:features
set CUCUMBER_GLUE=com.cyy.defstep
set CUCUMBER_PLUGIN=pretty, %plugin_json%, %plugin_html% %extentReport%
set CUCUMBER_EXECUTION_STRICT=true

mvn clean test -DRepload=%reload% -DBaseURL=%baseURL%


:: cucumber.ansi-colors.disabled=  # true or false. default: false
:: cucumber.execution.dry-run=     # true or false. default: false
:: cucumber.execution.limit=       # number of scenarios to execute (CLI only).
:: cucumber.execution.order=       # lexical, reverse, random or random:[seed] (CLI only). default: lexical
:: cucumber.execution.strict=      # true or false. default: true.
:: cucumber.execution.wip=         # true or false. default: false.
:: cucumber.features=              # command separated paths to feature files. example: path/to/example.feature, path/to/other.feature
:: cucumber.filter.name=           # regex. example: .*Hello.*
:: cucumber.filter.tags=           # tag expression. example: @smoke and not @slow
:: cucumber.glue=                  # comma separated package names. example: com.example.glue
:: cucumber.plugin=                # comma separated plugin strings. example: pretty, json:path/to/report.json
:: cucumber.object-factory=        # object factory class name. example: com.example.MyObjectFactory
:: cucumber.snippet-type=          # underscore or camelcase. default: underscore

